<template>
    <div class="container">
        <!--头部区域-->
        <myHeader></myHeader>
        <!--主题区域-->
        <div class="home-main-box">
            <!--左边侧栏-->
            <MyAside></MyAside>
            <!--右侧内容主题-->
            <div class="home-main-body">
                <!--路由的视图-->
                <router-view></router-view>
            </div>
        </div>
    </div>
</template>

<script setup>
import MyAside from './subcomponents/MyAside.vue';
import MyHeader from './subcomponents/MyHeader.vue';
</script>

<style lang="less">
.home-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  .home-main-box {
    height: 100%;
    display: flex;
    .home-main-body {
      padding: 15px;
      flex: 1;
    }
  }
}
</style>